<!doctype html>
<html class="no-js" data-ng-app="audittest">
#include("/WEB-INF/tpl/head_normal.vm")
<style type="text/css">
@media print {
	.np {
		display: none;
	}
	.nb {
		border: 0px;
	}
	.am-list>li {
		position: relative;
		display: block;
		margin-bottom: -1px;
		background-color: #fff;
		border: 0px;
		border-width: 1px 0;
		margin: 4px 0 8px 0;
		padding-left: 20px;
		font-size: 14px;
	}
	.ct {
		text-align: center !important;
	}

	pre{
		padding-left: 5px;
		font-size: 18px;
		border: none;
	}
}
</style>
<div data-ng-controller="test-full">
	<div class="am-g am-g-fixed am-margin-top">
		<div class="am-text-center ct">
			<h2>{{modelname}}</h2>
		</div>
		<div class="np">
			题目数【{{cnt}}】<div style="float:right;">
			<button type="button"
				class="am-margin-right am-small-btn am-btn-primary"
				onclick="window.print();">打印试卷</button></div>
		</div>
		<form class="am-form">
			<ul class="am-list">
				<li data-ng-repeat="item in items"><pre>{{$index +
					1}}.&nbsp;{{item.itemcontent}} ({{item.score}}分)</pre>
					<div data-ng-show="item.itemtype=='单选题'" class="am-form-group">
						<ul class="am-list">
							<li data-ng-repeat="opt in item.opts" style="border: none">{{opt.optno}}.
								&nbsp;<input class="am-radio-inline np" type="radio"
								name="{{item.itembh}}0">&nbsp;{{opt.optcontent}}
							</li>
						</ul>
					</div>
					<div data-ng-show="item.itemtype=='多选题'" class="am-form-group">
						<ul class="am-list">
							<li data-ng-repeat="opt in item.opts" style="border: none">{{opt.optno}}.
								&nbsp;<input class="am-checkbox-inline np" type="checkbox"
								name="{{item.itembh}}1">&nbsp;{{opt.optcontent}}
							</li>
						</ul>
					</div>
					<div data-ng-show="item.itemtype=='判断题'">
						<ul class="am-list">
							<li style="border: none">{{item.opts[0].truefalse ||
								item.opts[0].optcontent}}&nbsp;&nbsp;<input
								class="am-radio-inline np" type="radio" name="{{item.itembh}}2"
								data-ng-model="item.opts[0].checked" />
							</li>
							<li style="border: none">{{item.opts[1].truefalse ||
								item.opts[1].optcontent}}&nbsp;&nbsp;<input
								class="am-radio-inline np]" type="radio" name="{{item.itembh}}2"
								data-ng-model="item.opts[1].checked" />
							</li>
						</ul>
					</div>
					<div
						data-ng-show="item.itemtype=='问答题' || item.itemtype=='名词解释' || item.itemtype=='编程题' || item.itemtype=='主观题' || item.itemtype=='填空题'"
						class="am-form-group">
						<textarea class="nb" data-ng-model="item.opts[0].answer"
							style="width: 100%" rows="4" /></textarea>
					</div>
				</li>
			</ul>
		</form>
	</div>
</div>
#include("/WEB-INF/tpl/footer_normal.vm")
</html>
